package com.auxgroup.bridge.app.inner.vo;

import io.swagger.annotations.ApiModelProperty;

/**
 * @Author: laiqiuhua.
 * @Date: 2017/10/12 11:25.
 */
public class FamilyCenterDeviceVo {
    @ApiModelProperty("设备id")
    private String deviceId;
    @ApiModelProperty("设备别名")
    private String devAlias;
    @ApiModelProperty("用户名称")
    private String username;
    @ApiModelProperty("用户id")
    private String uid;
    @ApiModelProperty("批次号")
    private String qrBatch;
    @ApiModelProperty("用户标签：0：主人，1：家人，2：好友")
    private Integer userTag;

    public FamilyCenterDeviceVo(){}

    public static FamilyCenterDeviceVo of(String deviceId, String devAlias, String username, String uid, String qrBatch, Integer userTag) {
        FamilyCenterDeviceVo familyCenterDeviceVo = new FamilyCenterDeviceVo();
        familyCenterDeviceVo.deviceId = deviceId;
        familyCenterDeviceVo.devAlias = devAlias;
        familyCenterDeviceVo.username = username;
        familyCenterDeviceVo.uid = uid;
        familyCenterDeviceVo.qrBatch = qrBatch;
        familyCenterDeviceVo.userTag = userTag;
        return familyCenterDeviceVo;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getDevAlias() {
        return devAlias;
    }

    public void setDevAlias(String devAlias) {
        this.devAlias = devAlias;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getQrBatch() {
        return qrBatch;
    }

    public void setQrBatch(String qrBatch) {
        this.qrBatch = qrBatch;
    }

    public Integer getUserTag() {
        return userTag;
    }

    public void setUserTag(Integer userTag) {
        this.userTag = userTag;
    }
}
